package com.vhans.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vhans.core.domain.User;
import com.vhans.db.model.dto.ConditionDTO;
import com.vhans.db.model.vo.user.UserVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 【用户】Mapper接口
 *
 * @author vhans
 * @date 2023-04-10
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
    /**
     * 查询用户列表
     * @param condition 条件
     * @return 用户列表
     */
    List<UserVO> listUserVO(@Param("condition") ConditionDTO condition);
}
